#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>

using namespace std;
void test1(int a = 10)
{
	printf("%d\n", a);
}

void test2(int a)
{
	printf("%d\n", a);
}

int Add(int a, int b)
{
	return a + b;
}

double Add(double a, double b)
{
	return a + b;
}
int main()

{

	//test1(1);
	//test1();
	//test2(1);
	//cout << "hello c++" << endl;
	//int a = Add(1, 2);
	//float b = Add(1.1, 1.2);

	int a = 1;
	int& b = a;
	int m = a;

	a++;
	b++;
	m++;

	cout << a << endl;
	cout <<  b << endl;
	cout <<  m << endl;


	return 0;
}